package com.huang.springbootthymeleafshiro.dao;



import com.huang.springbootthymeleafshiro.bean.Pers;
import com.huang.springbootthymeleafshiro.bean.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface UserDao {
    void save(User user);
    User findbyUser(String name);
    User findRolebyname(String name);

    //根据角色id查询权限集合
    List<Pers> findPersbyid(String id);
}
